package cn.tedu.egcar1.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class Vehicle {
    @ApiModelProperty(value = "车辆序号",required = true)
    private Long id;
    @ApiModelProperty(value = "车辆品牌",required = true)
    private String brand;
    @ApiModelProperty(value = "车辆车牌",required = true)
    private  String license;
    @ApiModelProperty(value = "车辆型号",required = true)
    private String model;
    @ApiModelProperty(value = "车辆条码号",required = true)
    private String code;
    @ApiModelProperty(value = "车辆排量",required = true)
    private String displacement;
    @ApiModelProperty(value = "车辆类型",required = true)
    private String type;
    @ApiModelProperty(value = "车辆颜色",required = true)
    private String color;
    @ApiModelProperty(value = "车辆电池型号",required = true)
    private String batteryType;
    @ApiModelProperty(value = "车辆创建时间",required = true)
    private Date createTime;
    @ApiModelProperty(value = "车辆更新时间",required = true)
    private Date updateTime;
    @ApiModelProperty(value = "车辆用户编号",required = true)
    private Long userId;
}
